import Vue from 'vue'
import Router from 'vue-router'

import Login from '@/page/login'
import WaterList from '@/page/waterList'
import User from '@/page/user'
import ModifyPW from '@/page/modifyPW'
import WorkRecode from '@/page/workRecode'
Vue.use(Router)

export default new Router({
  routes: [
  	{
      path: '/',
      name: 'login',
      component: Login
    },
    {
    	path: '/waterList',
    	name: 'waterList',
    	component: WaterList
    },
    {
    	path: '/user',
    	name: 'user',
    	component: User
    },
    {
    	path: '/modifyPW',
    	name: 'modifyPW',
    	component: ModifyPW
    },
    {
    	path: '/workRecode',
    	name: 'workRecode',
    	component: WorkRecode
    }
  ]
})
